package com.lin.zoo.controller;

import com.lin.zoo.service.ActivityService;

public class ActivityController {
    private ActivityService activityService=new ActivityService();//链接Service
    public void delactivity(Object id){activityService.delactivity(id);}//调用删除活动方法
    public void setIntroduce(Object id,String introduce){activityService.setIntroduce(id,introduce);}//修改介绍
    public void setPark(Object id,String parkId){activityService.setPark(id,parkId);}//修改活动所属园区id
    public void setStart(Object id,String time){activityService.setStart(id,time);}//修改开始时间
    public void setEnd(Object id,String time){activityService.setEnd(id,time);}//修改结束时间

}
